package xyz.jpcr.covid19app.Api;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;
import xyz.jpcr.covid19app.Model.Country.Country;
import xyz.jpcr.covid19app.Model.RumorResult.RumorResult;

public interface ApiInterface {

    @GET("area")
    Call<Country> getAllArea();

    @GET("rumors")
    Call<RumorResult> getRumor(@Query("page") int page,
                               @Query("num") int num);
}
